package com.sss.hloster0304;

public  abstract class FamilyInfoAbstract {
	// 属性
	private String stuMatherName;
	private String stuFatherName;
	private String stuFamilyAddress;

	// 行为
	/**
	 * 获取学生家庭信息行为
	 */
	public String getStuFamilyInfo() {
			return this.toString();
	}

	

	public FamilyInfoAbstract(String stuMatherName, String stuFatherName, String stuFamilyAddress) {
		super();
		this.stuMatherName = stuMatherName;
		this.stuFatherName = stuFatherName;
		this.stuFamilyAddress = stuFamilyAddress;
	}



	public String getStuMatherName() {
		return stuMatherName;
	}

	public void setStuMatherName(String stuMatherName) {
		this.stuMatherName = stuMatherName;
	}

	public String getStuFatherName() {
		return stuFatherName;
	}

	public void setStuFatherName(String stuFatherName) {
		this.stuFatherName = stuFatherName;
	}

	public String getStuFamilyAddress() {
		return stuFamilyAddress;
	}

	public void setStuFamilyAddress(String stuFamilyAddress) {
		this.stuFamilyAddress = stuFamilyAddress;
	}
	public String toString() {
		return "StuFamily[stuMatherName=  "+stuMatherName+"  ,stuFather="+stuFatherName+
				"   , stuFamilyAddress=  "+stuFamilyAddress+"]";
	
	}

}
